package edu.bit.water.entity;

import java.sql.Timestamp;

//改变量名称等和数据库对应
public class UserEntity{
	private int id;
	
	private String username;
	private String password;
	private String role;
	private int companyid;
	private String workShop;
	private String email;//邮箱
	private String verifycode;//验证码
	private Timestamp outdate;//验证码过期时间
	public String getVerifycode() {
		return verifycode;
	}

	public void setVerifycode(String verifycode) {
		this.verifycode = verifycode;
	}

	public Timestamp getOutdate() {
		return outdate;
	}

	public void setOutdate(Timestamp outdate) {
		this.outdate = outdate;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {return this.email;}

	public String getWorkShop() {return this.workShop;}
	public void setWorkShop(String workShop) {this.workShop = workShop;}
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	private String companyName;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	public int getCompanyId() {
		return companyid;
	}
	public void setCompanyId(int companyid) {
		this.companyid = companyid;
	}
	
	public String getName() {
		return username;
	}
	public void setName(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
}
